package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created by Mybatis Generator on 2023/12/15
*/
@Data
@Table(name = "tbl_plan_benefit")
@NoArgsConstructor
@AllArgsConstructor
public class TblPlanBenefit extends BaseEntity {
    @Column(name = "plan_id")
    private String planId;

    private String name;

    /**
     * 多个以,拼接
     */
    @Column(name = "country_ids")
    @ApiModelProperty("多个以,拼接")
    private String countryIds;

    @Column(name = "start_date")
    private Date startDate;

    @Column(name = "end_date")
    private Date endDate;

    @Column(name = "home_based_fee")
    private BigDecimal homeBasedFee;

    @Column(name = "info_display_policy_end_date")
    private Integer infoDisplayPolicyEndDate;

    @Column(name = "info_hide_visit_balance")
    private Integer infoHideVisitBalance;

    @Column(name = "info_hide_consult_fee")
    private Integer infoHideConsultFee;

    @Column(name = "info_hide_consult_cap")
    private Integer infoHideConsultCap;

    @Column(name = "info_hide_co_pay")
    private Integer infoHideCoPay;

    @Column(name = "info_hide_annual_limit")
    private Integer infoHideAnnualLimit;

    /**
     * 记录历史数据,2.0无逻辑处理
     */
    @Column(name = "info_excluded_zero_consult_fee")
    @ApiModelProperty("记录历史数据,2.0无逻辑处理")
    private Integer infoExcludedZeroConsultFee;

    private Integer status;

    /**
     * 外部 code,主要用于 AIA 产品，多个以,拼接
     */
    @Column(name = "third_code")
    @ApiModelProperty("外部 code,主要用于 AIA 产品，多个以,拼接")
    private String thirdCode;

    /**
     * 1:email matching 2:shared identifier 3:unique identifier - auto generate 4:unique identifier - custom 5:deeplink 6-AIA IEC 7-AIA HS
     */
    @Column(name = "identifier_type")
    @ApiModelProperty("1:email matching 2:shared identifier 3:unique identifier - auto generate 4:unique identifier - custom 5:deeplink 6-AIA IEC 7-AIA HS")
    private Integer identifierType;

    /**
     * 分享模式(shared identifier,deeplink)总共使用次数
     */
    @Column(name = "total_times")
    @ApiModelProperty("分享模式(shared identifier,deeplink)总共使用次数")
    private Integer totalTimes;

    /**
     * 已用次数
     */
    @Column(name = "used_times")
    @ApiModelProperty("已用次数")
    private Integer usedTimes;

    @Column(name = "identifier_prefix")
    private String identifierPrefix;

    @Column(name = "identifier_generate_length")
    private Integer identifierGenerateLength;

    /**
     * 0:link triggered date 1:link active date
     */
    @Column(name = "sub_start_date_type")
    @ApiModelProperty("0:link triggered date 1:link active date")
    private Integer subStartDateType;

    /**
     * 1:group 2:individual
     */
    @Column(name = "sub_coverage_type")
    @ApiModelProperty("1:group 2:individual")
    private Integer subCoverageType;

    /**
     * 最大分享数
     */
    @Column(name = "sub_max_number_of_denpendants")
    @ApiModelProperty("最大分享数")
    private Integer subMaxNumberOfDenpendants;

    /**
     * 1:share 2:individual
     */
    @Column(name = "sub_limit_type")
    @ApiModelProperty("1:share 2:individual")
    private Integer subLimitType;

    /**
     * 是否可以中途修改，0 否 1 是
     */
    @Column(name = "sub_edit_dependants")
    @ApiModelProperty("是否可以中途修改，0 否 1 是")
    private Integer subEditDependants;

    @Column(name = "sub_sku")
    private String subSku;

    @Column(name = "specialist_company_id")
    private String specialistCompanyId;

    @Column(name = "gp_company_id")
    private String gpCompanyId;

    @Column(name = "drug_exclusion_list_id")
    private String drugExclusionListId;

    @Column(name = "diagnosis_exclusion_list_id")
    private String diagnosisExclusionListId;

    @Column(name = "medical_service_exclusion_list_id")
    private String medicalServiceExclusionListId;

    @Column(name = "onboarding_screens_id")
    private String onboardingScreensId;
}
